<?xml version="1.0"?>
<properties>
  <include buildfile="func/func.versioning.xml" />
  <include buildfile="func/func.parseProjects.xml" />

  <property name="project.name" value="${project::get-name()}" />
  <property name="current.dir" value="${directory::get-current-directory()}" />
  <property name="versioning.path" value="${current.dir}" />
  <property name="root.dir" value="${directory::get-parent-directory(current.dir)}" />

  <!-- Call func.versioning for current version from version.txt -->
  <call target="getversion" />
  <property name="version" value="${versioning.versionstring}" />
 
  
  <property name="doc.path" value="..\doc\" />
  <property name="lib.path" value="..\lib\" />
  <property name="tools.path" value="..\tools\" />
  <property name="src.path" value="..\src\${project.name}" />  
  
  <!-- Main App -->
  <property name="src.app.path" value="${src.path}\app\" />    
  <property name="dest.path" value="..\release\v${version}\" />
  <property name="dest.current.path" value="..\release\current\" />

  <property name="projects.fullpath" value="${current.dir}\version.txt" />  
  <call target="parseProjectProps" />
  

  <!-- Test -->
  <property name="src.test.path" value="${src.path}\test\COFE2" />
  <property name="src.unittest.path" value="${src.test.path}\unit\UnitTest.${project.name}" />
  <property name="src.intetest.path" value="${src.test.path}\integration\IntegrationTest.${project.name}" />
  <property name="dest.test.path" value="..\test\COFE2\" />
  
  
  <mkdir dir="${dest.path}" />
  
  <!-- Msbuild -->  
  <property name="msbuild.dir" value="..\tmp\msbuild\" />
  <property name="build.keyfile" value="" /> 

  <property name="net.framework.2" value="C:\Windows\Microsoft.NET\Framework\v2.0.50727\" />
  <property name="net.framework.3" value="C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.0\" />
  <property name="net.msbuild.35" value="C:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe"/>
  <property name="net.msbuild.4" value="C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"/>

  <property name="debug" value="true" />
  <property name="rebuild" value="true" />
  <property name="optimize" value="true"/>


  <property name="net.msbuild.configuration" value="Release" />
  <if test="${debug}">
    <property name="net.msbuild.configuration" value="Debug" />
    <property name="${debug}" value="Full" />
  </if>    
  
</properties>